//
//  HQAboutViewController.m
//  MobileiOS
//
//  Created by 郝庆松 on 2018/5/5.
//  Copyright © 2018年 PCITC. All rights reserved.
//

#import "HQAboutViewController.h"

@interface HQAboutViewController ()

@end

@implementation HQAboutViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.title = @"关于我们";
    
    NSDictionary *infoDictionary = [[NSBundle mainBundle] infoDictionary];
    
    // app名称
    NSString *app_Name = [infoDictionary objectForKey:@"CFBundleDisplayName"];
    // app版本
    NSString *app_Version = [infoDictionary objectForKey:@"CFBundleShortVersionString"];
    // app build版本
//    NSString *app_build = [infoDictionary objectForKey:@"CFBundleVersion"];
//     _version.text = [NSString stringWithFormat:@"Version:%@ Build:%@",app_Version,app_build];
    _appName.text = [NSString stringWithFormat:@"%@",app_Name];
    _version.text = [NSString stringWithFormat:@"%@",app_Version];
}

@end
